package tk.jfree.example.solr.api.pagehelper;

import lombok.*;

import java.io.Serializable;

/**
 * @author Cheng.Wei
 * @date 2019/04/29 00:21
 */
@Getter
@Setter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Page<T> implements Serializable {
    private static final long serialVersionUID = 3871737102346431851L;
    /**页码，从1开始*/
    private int pageNum;
    /**页面大小*/
    private int pageSize;
    /**总数*/
    private long total;
    /**总页数*/
    private int pages;
    /**数据*/
    private T list;
}
